package com.lbd.system.dao;

import com.lbd.system.bean.EventLog;
import com.lbd.system.bean.Menu;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.io.Serializable;
import java.util.List;

/**
 * Created by WangYajie on 2016/9/12.
 */
public interface MenuRepository extends PagingAndSortingRepository<Menu, Serializable>, JpaSpecificationExecutor<Menu> {
    List<Menu> findByParentIsNull();
}
